-
Notifications
You must be signed in to change notification settings - Fork 31
chore: Run browser contract tests in CI. #1001
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@launchdarkly/browser size report |
|
@launchdarkly/js-sdk-common size report |
|
@launchdarkly/js-client-sdk-common size report |
|
@launchdarkly/js-client-sdk size report |
05cb2df to
54348c8
Compare
54348c8 to
f7d755b
Compare
This PR adds support for running the browser contract tests in CI. The browser contract tests need to run in a browser to ensure test efficacy and this is accomplished using playwright in CI.
Note
Adds CI steps to build, serve, and run browser contract tests via Playwright, plus supporting scripts/docs and Playwright dependency.
.github/workflows/browser.yml):browser-contract-test-adapterandbrowser-contract-test-service, start adapter/WebSocket and static server, wait for readiness, open headless Chromium, run contract tests vialaunchdarkly/contract-testsaction, and add failure logs/cleanup.packages/sdk/browser/contract-tests/):README.mddescribing architecture and local run instructions.open-browser.mjsto launch headless Chromium and stream console/errors.entity/package.json: addplaywrightdevDependency andinstall-playwright-browsersscript.Written by Cursor Bugbot for commit f7d755b. This will update automatically on new commits. Configure here.